//
//  BMNewDatePickerView.h
//  bigmama
//
//  Created by huyuchen on 2017/8/15.
//  Copyright © 2017年 盛成文化. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BMPickerViewConfig.h"
#import "BMPickerViewToolBar.h"
#import "BMDatePickerViewStyle.h"


@interface BMNewDatePickerView : UIView

@property (strong, nonatomic, readonly) BMPickerViewToolBar *toolBar;

@property (nonatomic, strong) UIDatePicker *datePicker;

- (instancetype)initWithToolBarText:(NSString *)toolBarText pickerViewStyle:(BMDatePickerViewStyle *)style toolBarStyle:(BMPickerViewToolBarStyle)toolBarStyle valueDidChangedBlock:(DateSelectedBlock)valueDidChangedBlock cancelBlock:(BtnClickBlock)cancelBlock doneBlock:(DateClickBlock)doneBlock;

@end
